package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.common.dto.TagProducer;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.VipDetailDto;
import com.ttg.model.pojo.BankCardBindingInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BankCardBindingInfoMapper extends BaseMapper<BankCardBindingInfo> {

    List<BankCardBindingInfo> getByCstId(@Param("cstId") String cstId);

    List<BankCardBindingInfo> existsMapByBankNoAndProduct(@Param("existsWhere") List<Map<String, String>> existsWhere);

    List<Long> getVipIdsByTags(@Param("tags") List<TagProducer> tags, @Param("key") String key);

}
